package com.codingman.springmybatisdemo2;

import org.mybatis.spring.support.SqlSessionDaoSupport;

public class EmployeeDao extends SqlSessionDaoSupport {

	public void insert() {
		Employee e = new Employee(102, "Bob", 200.0);
		// namespace.id
		getSqlSession().insert("springmybatisdemo2.EmployeeMapper.insertEmployee", e);
	}
}
